home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
archiver
/
lzhtv12.zip
/
LZHTV.DOC
< prev
next >
Wrap
Text File
|
1990-04-22
|
6KB
|
204 lines
L z h T V
Version 1.2, 04-22-90
Online .LZH Directory/Text View Module
for .LZH files made with LHARC10 and later
LZHTV12.ZIP
Copyright 1989, 1990 Samuel H. Smith; ALL RIGHTS RESERVED
This program is supported by:
The Tool Shop BBS
Phoenix, AZ
(602) 279-2673 (2400) - Free node
(602) 264-3969 (HST 9600)
(602) 279-0230 (Hayes V9600)
'LzhTV' is a small LZH file text-view utility. It allows you to
directly list out text files in a LZH file without first extracting
them. This version includes full source code and is compatible with
network filesharing. Run LZHTV without parameters for a summary of
command syntax.
This utility can be used as a simple DOOR in systems that can provide a
valid filespec for LZH file viewing.
This utility is compatible only with Yoshi's LHARC10.EXE (and later)
file formats.
Source code is included. Some additional library files are required.
Look for TOOL-INC.ZIP and TOOL-USE.ZIP from The Tool Shop BBS.
USAGE
=====
LZHTV [-Pport] [-Tminutes] [-Llines] [-Mlines] [drive:\path\]FILE[.LZH]
-Pn Enables com port COMn and monitors carrier.
Local operation allowed with -P0.
-Tn Allows user to stay in program for n minutes.
The default is 10 minutes.
-Ln Specifies lines per page in 'more?' prompts.
The default is 23 lines per page.
-Mn Specifies maximum number of lines of viewing to allow per session.
The default is 500 lines per session.
Example PCBVIEW.BAT for PCBoard 14.0 (dos 3.3 and later)
------------------------------------
@LZHTV -p1 %1 >pcbview.txt
Example PCBVIEW.BAT for PCBoard 14.0 (dos 3.2 and earlier)
------------------------------------
echo off
LZHTV -p1 %1 >pcbview.txt
Example PRO-R.BAT for ProDoor 3.0 and later
-------------------------------------------
:LZH
chkpath LZHTV %0 >>%3
if errorlevel 1 goto end
LZHTV -p%1 -t%2 >>%3 %4
if errorlevel 1 goto error
goto end
ENVIRONMENT VARIABLES
=====================
LZHTV uses BIOS calls to perform all display updates. The program
attempts to automatically detect EGA 43 and VGA display modes so it
can adapt as needed. Unfortunately, under some environments these
BIOS enquiries cause the program to freeze. To avoid this, you may
need to add the following environment variable before first running
LZHTV:
SET OVCRT=ON
LZHTV has the ability to access non-standard COM ports. To use com
ports other than the normal COM1 and COM2, you can now insert the
following statements in your batch file:
SET COMBASE=nnnn ;port base I/O address (decimal)
SET COMIRQ=n ;port IRQ setting
REVISION HISTORY
================
4-21-89
Initial coding and release.
1-3-90
Corrected logic to quickly respond to a "NO" response at a "more?"
prompt.
2-4-90
Added automatic support for EGA 43 line screen modes.
Added -L option to control lines per page.
Added support for non-standard COM port configurations.
Added -M option to encourage users to download large text files
rather than viewing them entirely through ZIPTV.
Added OVCRT=ON environment variable to disable EGA and VGA bios
checks, which conflict with some timeshare programs or with the BIOS
in some PCs.
Added logic to enable "local mode" when a -p1 or -p2 option is used,
but carrier is not present initially.
Added logic to allow text files containing only NEWLINE (line-feed)
characters as used on Unix and unix-like systems.
4-5-90
Added support for DSZ-compatible COM3 through COM8 built-in com port
definitions.
LICENSE
=======
You may copy and distribute this program freely, provided that:
1) No fee is charged for such copying and distribution, and
2) It is distributed ONLY in its original, unmodified state.
If you wish to distribute a modified version of this program, you MUST
include the source code.
SourceWare: What is it?
-----------------------
SourceWare is my name for a unique concept in user supported
software.
Programs distributed under the SourceWare concept always offer
complete source code.
This package can be freely distributed so long as it is not modified
or sold for profit. If you find that this program is valuable, you
can send me a donation for what you think it is worth. I suggest
about $10.
Send your contributions to:
Samuel. H. Smith
5119 N. 11 ave 332
Phoenix, Az 85013
Why SourceWare?
---------------
Why do I include source code? Why isn't the donation manditory? The
value of good software should be self-evident. The source code is the
key to complete understanding of a program. You can read it to find
out how things are done. You can also change it to suit your needs,
so long as you do not distribute the modified version without my
consent.
Copyright
---------
If you modify this program, I would appreciate a copy of the new
source code. I am holding the copyright on the source code, so
please don't delete my name from the program files or from the
documentation.
SUPPORT
=======
I work very hard to produce a software package of the highest quality
and functionality. I try to look into all reported bugs, and will
generally fix reported problems within a few days.
Since this is user supported software under the SourceWare concept,
I don't expect you to contribute if you don't like it or if it
doesn't meet your needs.
If you have any questions, bugs, or suggestions, please contact
me at:
The Tool Shop BBS
(602) 279-2673 (2400) - Free node
(602) 264-3969 (HST 9600)
(602) 279-0230 (Hayes V9600)
The latest version is always available for downloading.
Enjoy! Samuel H. Smith
Author and Sysop of The Tool Shop.